package com.qiuzhiyi.activity;

import com.li.widget.TopNavigationBar;
import com.li.widget.VerticalDoubleText;
import com.qiuzhiyi.R;
import com.qiuzhiyi.base.QZYBaseActivity;

import butterknife.BindView;

/**
 * Author: Li
 * Date: 2017/11/22 0022
 * Description: 薪资界面
 */

public class SalaryActivity extends QZYBaseActivity {

    @BindView(R.id.top_navigation)
    TopNavigationBar mTopNavigation;
    @BindView(R.id.txt_way)
    VerticalDoubleText mTxtWay;
    @BindView(R.id.txt_cal)
    VerticalDoubleText mTxtCal;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_salary;
    }

    @Override
    protected void initSth() {
        super.initSth();
        mTopNavigation.setNavigationBarListener(this);

        if (getIntent().getExtras() != null) {
            mTxtWay.setTitle("发薪方式");
            mTxtWay.setContent(getIntent().getExtras().getString("salaryTime"));
            mTxtCal.setTitle("工资计算");
            mTxtCal.setContent(getIntent().getExtras().getString("salaryCalWay"));
        }

    }


}
